how to show ranking in graph